//
//  MYGMyPageCollectionViewCell.swift
//  MYDoctor
//
//  Created by Mo on 2024/3/7.
//

import UIKit

class MYGMyPageCollectionViewCell: UICollectionViewCell {
    var titleImageV:UIImageView!
    var titleLab:UILabel!
    override init(frame: CGRect) {
        super.init(frame: frame)
        
        titleImageV = UIImageView()
        contentView.addSubview(titleImageV)
        titleImageV.snp.makeConstraints { make in
            make.centerX.equalToSuperview()
            make.top.equalToSuperview()
            make.width.height.equalTo(SCALEWIDTH(48))
        }
        
        titleLab = UILabel()
        titleLab.textColor = RGBA(r: 51, g: 51, b: 51, a: 1)
        titleLab.font = UIFont.systemFont(ofSize: 14, weight: .regular)
        titleLab.text = "四个字哦"
        contentView.addSubview(titleLab)
        titleLab.snp.makeConstraints { make in
            make.bottom.equalToSuperview()
            make.centerX.equalToSuperview()
            make.height.equalTo(SCALEWIDTH(14))
        }
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
}
